package com.lesson15.strategy;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/9/18 19:53
 */
public class PekingDuck extends Duck
{
    public PekingDuck()
    {
        flyBehavior = new NoFlyBehavior();
    }

    @Override
    public void display()
    {
        System.out.println("这是北京鸭！");
    }
}
